package com.gitee.kenewstar.migration.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.gitee.kenewstar.migration.entity.TemplateHeader;
import com.gitee.kenewstar.migration.entity.TemplateHeaderTl;
import com.gitee.kenewstar.migration.entity.TemplateLine;
import com.gitee.kenewstar.migration.entity.TemplateLineTl;
import com.gitee.kenewstar.migration.entity.TemplateTarget;
import com.gitee.kenewstar.migration.entity.TemplateTargetTl;

import java.util.List;

/**
 * @author kenewstar
 */
public interface TemplateImportService {


    List<TemplateHeader> devSelectHeader(List<String> tmplCodeList, Long tenantId);

    List<TemplateHeader> devSelectHeaderList(List<TemplateHeader> list);

    List<TemplateHeaderTl> devSelectHeaderTl(QueryWrapper<TemplateHeaderTl> queryWrapper);

    List<TemplateTarget> devSelectTarget(QueryWrapper<TemplateTarget> queryWrapper);

    List<TemplateTargetTl> devSelectTargetTl(QueryWrapper<TemplateTargetTl> queryWrapper);

    List<TemplateLine> devSelectLine(QueryWrapper<TemplateLine> queryWrapper);

    List<TemplateLineTl> devSelectLineTl(QueryWrapper<TemplateLineTl> queryWrapper);

    void uatInsertHeader(TemplateHeader header);

    void uatInsertHeaderTl(List<TemplateHeaderTl> list);

    void uatInsertTarget(List<TemplateTarget> list);

    void uatInsertTargetTl(List<TemplateTargetTl> list);

    void uatInsertLine(List<TemplateLine> list);

    void uatInsertLineTl(List<TemplateLineTl> list);


}
